package com.hmall.mapper;

import com.hmall.model.XtxArticleComment;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface XtxArticleCommentMapper extends MyMapper<XtxArticleComment> {
    Integer selectCountByArticleId(@Param("articleId") Integer articleId);

    List<XtxArticleComment> selectByArticleId(@Param("articleId")Integer articleId, @Param("pageStart") Integer pageStart, @Param("pageSize") Integer pageSize);
}